import request from "@/util/request.js"

export function insertOrUpdateLinkageTriggerToDevice(param) {
	return request({
		url: '/iot/device/linkage/trigger/insertOrUpdateToDevice',
		method: 'post',
		data: param
	});
}

export function insertOrUpdateLinkageTriggerToServer(param) {
	return request({
		url: '/iot/device/linkage/trigger/insertOrUpdateToServer',
		method: 'post',
		data: param
	});
}

export function listLinkageTrigger(param) {
	return request({
		url: '/iot/device/linkage/trigger/list',
		method: 'post',
		data: param
	});
}
